<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2023/10/24
  Time: 10:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<%@page import="com.kfm.util.Constant" %>
<%@ page import="java.util.List" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    List<String> list = (List<String>) application.getAttribute(Constant.ONLINE_KEY);
    int count = list.size();
%>
<h3>在线人数<%=count%>
</h3>
<%
    for (String s : list) {
%>
<p><%=s%>
</p>
<%
    }
%>
</body>
</html>
